<?php require_once(dirname(__FILE__).'/inc/config.inc.php');IsModelPriv('site_update'); ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>修改站点</title>
<link href="templates/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="templates/js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="templates/js/jquery.nicescroll.js"></script>
<script type="text/javascript" charset="utf-8" src="templates/js/layindex.js"></script>
<script type="text/javascript" charset="utf-8" src="templates/js/common.js"></script>
<script type="text/javascript" charset="utf-8" src="templates/js/Validform_v5.3.2_min.js"></script>
<script type="text/javascript">
    $(function () {
        //初始化表单验证
        $("#form").initValidform();
    });
</script>
</head>
<?php
$row = $dosql->GetOne("SELECT * FROM `#@__site` WHERE `id`=$id");
?>
<body class="mainbody">
<form method="post" id="form" method="post" action="site_save.php" >
<!--导航栏-->
<div class="location">
  <a href="admin.php" class="back"><i></i><span>返回列表页</span></a>
  <a href="home.php" class="home"><i></i><span>首页</span></a>
  <i class="arrow"></i>
  <a href="site.php"><span>站点管理</span></a>
  <i class="arrow"></i>
  <span>修改站点</span>
   <a href="javascript:location.reload();" class="reload">刷新</a>
</div>
<div class="line10"></div>
<!--/导航栏-->

<!--内容-->
<div id="floatHead" class="content-tab-wrap">
  <div class="content-tab">
    <div class="content-tab-ul-wrap">
      <ul>
        <li><a class="selected" href="javascript:;">修改站点</a></li>
      </ul>
    </div>
  </div>
</div>

<div class="tab-content">

  <dl>
    <dt>站点名称</dt>
    <dd><input type="text" name="site_name" id="site_name" class="input" value="<?php echo $row['sitename']; ?>" /> <span class="Validform_checktip">*站点切换名称，例如：英文站</span></dd>
  </dl> 
 <dl>
    <dt></dt>
    <dd>更多站点基本信息可通过网站信息配置进行设置</dd>
  </dl> 
 
</div>
<!--/内容-->

<!--工具栏-->
<div class="page-footer">
  <div class="btn-wrap">
    <input type="submit" name="btnSubmit" value="提交保存" class="btn" />
    <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript:history.back(-1);" />
	<input type="hidden" name="action" id="action" value="update" />
	<input type="hidden" name="id" id="id" value="<?php echo $id; ?>" />
  </div>
</div>
<!--/工具栏-->
</form>
</body>
</html>
